package org.agony2d.view.core 
{
	import flash.events.IEventDispatcher;
	import org.agony2d.notify.INotifier;
	
	[Event(name = "enterStage", type = "org.agony2d.notify.AEvent")] 
	
	[Event(name = "exitStage", type = "org.agony2d.notify.AEvent")] 
	
public interface IModule extends INotifier
{
	
	/** ◆是否关闭状态 */
	function get closed() : Boolean
	
	/** ◆◆弹出
	 *  @param	layer
	 *  @param	immediate
	 *  @param	stateArgs
	 */
	function popup( layer:int = -1, immediate:Boolean = true, stateArgs:Array = null ) : void
	
	/** ◆◆关闭
	 *  @param	destroyed
	 */
	function close( destroyed:Boolean = true ) : void
}
}